using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    /// <summary>
    /// 关联银行账户 流水记录，与银行进行银企对接后，同步银行流水信息
    /// </summary>
    [Table("bank_帐户流水", "bank__zhang_hu_liu_shui", "id")]
    [Serializable]
    public class BankZhangHuLiuShuiModel : Rsd.Faith.Core.ModelBase
    {
        /// <summary>
        /// 银行名称
        /// </summary>
        [StringType("yin_hang_ming_cheng", "银行名称", 20, 100)]
        [DisplayName("银行名称")]
        public string YinHangMingCheng { get; set; }

        /// <summary>
        /// 银行账号
        /// </summary>
        [StringType("yin_hang_zhang_hao", "银行账号", 21, 100)]
        [DisplayName("银行账号")]
        public string YinHangZhangHao { get; set; }

        /// <summary>
        /// 所属周期
        /// </summary>
        [StringType("suo_shu_qi", "所属期", 22, 20)]
        [DisplayName("所属期")]
        public string SuoShuQi { get; set; }

        /// <summary>
        /// 流水号
        /// </summary>
        [StringType("liu_shui_hao", "流水号", 24, 20)]
        [DisplayName("流水号")]
        public string LiuShuiHao { get; set; }

        /// <summary>
        /// 业务代码
        /// </summary>
        [StringType("ye_wu_dai_ma", "业务代码", 26, 20)]
        [DisplayName("业务代码")]
        public string YeWuDaiMa { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [StringType("ri_qi", "日期", 28, 20)]
        [DisplayName("日期")]
        public string RiQi { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        [NumericType("jin_e", "金额", 30, 20, 2)]
        [DisplayName("金额")]
        public decimal JinE { get; set; }

       
        /// <summary>
        /// 收入_支出
        /// </summary>
        [StringType("shou_ru__zhi_chu", "收入_支出", 32, 10)]
        [DisplayName("收入_支出")]
        public string ShouRuZhiChu { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        [StringType("zhai_yao", "摘要", 34, 100)]
        [DisplayName("摘要")]
        public string ZhaiYao { get; set; }

        /// <summary>
        /// 状态:已登记（收到银行流水信息未处理），已入账（流水业务已处理入账）
        /// </summary>
        [StringType("zhuang_tai", "状态", 34, 10)]
        [DisplayName("状态")]
        public string ZhuangTai { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public BankZhangHuLiuShuiModel()
        { }

    }
}
